<template>
<div>
  <head title bgcolor="rgba(0,0,0,0)" bgwidth="200">
    <div class="rightBox" slot="right" @click="confirm">
      <text class="rightTix">Comfirm</text>
    </div>
  </head>
  <div class="icon">
    <text class="iconfont">&#xe60d;</text>
    <text class="status">Successful application</text>
    <text class="money">AU$50.00</text>
    <!-- 	<text class="btn" @click="returnpage">Return</text>
    <text class="btn">View orders</text>-->
  </div>
  <div class="maskClack" @click="e=>e.stopPropagation()" v-if="isLoading">
    <floading class="indicator" color="#303030"></floading>
  </div>
</div>
</template>

<script>
const navigator = weex.requireModule("navigator");
const navbar = weex.requireModule("navbar");
export default {
  data() {
    return {
      amount: 0
    };
  },

  onLoad(e) {
    this.amount = parseFloat(e.amount).toFixed(2);
  },
  methods: {
    
    confirm() {
      // this.backTo("缺人")
      this.backTo("balance");
    },
    returnpage() {
      this.backTo("A");
    }
  }
};
</script>

<style scoped lang="less">

.rightBox {
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  padding-left: 26px;
  padding-right: 26px;
  &:active {
    background-color: #222222;
  }
}
.icon {
  width: 750px;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
}

.iconfont {
  font-family: iconfont;
  font-size: 100px;
  margin-top: 100px;
  color: #ba8833;
}

.maskClack {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}
.indicator {
  width: 40px;
  height: 40px;
}
.status {
  color: #333333;
  font-size: 32px;
  margin-top: 30px;
  margin-bottom: 100px;
}

.rightTix {
  color: #333333;
  font-size: 32px;
}
.money {
  font-size: 48px;
  color: #333333;
}

.btn {
  width: 400px;
  height: 80px;
  line-height: 80px;
  border-radius: 80px;
  background-color: #303030;
  color: #fff;
  text-align: center;
  font-size: 30px;
  margin-top: 88px;
}
.btn:active {
  background-color: #000;
}
</style>
